package com.rongmai.db.mapper;

import com.rongmai.db.model.Allocation;

import java.util.List;
import java.util.Map;

/**
 * @author zhenhua.sun
 * @title com.tailai.tailaishop.repository.mapper
 * @date 29/07/2017
 */
public interface AllocationMapper {

    /**
     * 生成记录
     * @param allocation
     */
    Long insert(Allocation allocation);

    List<Allocation> page(Map<String, Object> map);

    int count(Map<String, Object> map);
}
